home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 6944 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: taurus.fccc.edu!cherceg
  2. From: cherceg@fccc.edu (Carl Herceg)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Leap Years
  5. Date: 16 Feb 1996 15:47:41 GMT
  6. Organization: Fox Chase Cancer Center
  7. Sender: cherceg@vega.rm.fccc.edu (Carl Herceg)
  8. Distribution: world
  9. Message-ID: <4g28ut$p87@taurus.fccc.edu>
  10. References: <8BA8405.02C70020E1.uuout@sourcebbs.com> <4fsk14$jo2@kocrsv08.delcoelect.com> <3121EF9A.CA5@mail.isd.net>
  11. Reply-To: C_Herceg@fccc.edu
  12. NNTP-Posting-Host: vega.rm.fccc.edu
  13. X-Newsreader: mxrn 6.18-16
  14.  
  15.  
  16. In article <3121EF9A.CA5@mail.isd.net>, "David A. Peterson"
  17. <dpeterso@mail.isd.net> writes:
  18. >Richard E. Fiegle wrote:
  19. >> 
  20. >> david.mohorn@sourcebbs.com (DAVID MOHORN) wrote:
  21. >> >How do you feature out leap years?  If its evenly divisible by 400
  22. >and
  23. >> >4?
  24. >> >
  25. >> 
  26. >> Anything divisible by 4 is already guaranteed to be
  27. >> divisible by 400.
  28. >
  29. >
  30. >Leap years are evenly divisible by 4, except those that are evenly
  31. >divisible by 100.
  32. >Leap centuries are evenly divisible by 400. 2000 will be a leap
  33. >century!
  34.  
  35. Why, then, is 2000 a leap year, since it is evenly divisible by 100?
  36. Wasn't 1900 a leap year? If 1904 was (1904/4=476) by your definition a
  37. leap year, then 1900 must have been. Why are years that are evenly
  38. divisible by 100 excluded?
  39. -- 
  40.  
  41.  
  42. C_Herceg@fccc.edu
  43.  
  44. Standard disclaimer:
  45. all opinions are my own...blah blah blah...in no way reflect
  46. those of my employer...blah blah blah...blah blah blah
  47.  
  48.